package com.lee.lease.web.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lee.lease.model.entity.SystemPost;

/**
* @author liubo
* @description 针对表【system_post(岗位信息表)】的数据库操作Service
* @createDate 2023-07-24 15:48:00
*/
public interface SystemPostService extends IService<SystemPost> {

    /**
     * 根据岗位id删除岗位及岗位下的员工
     * @param id 岗位id
     * @return
     */
    Integer removeByPostId(Long id);
}
